package com.xingda.packing.minitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xingda.packing.minitor.dto.WorkDurationResult;
import com.xingda.packing.minitor.entity.PkAction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PkActionMapper extends BaseMapper<PkAction> {
    List<Map<String, Object>> selectTotalWorkDurationByAreaAndDate();
    List<WorkDurationResult> getWorkDurationByAreaAndDate(@Param("area") int area, @Param("date") String date);
}
